<template>
	<view class="container">
		<view class="bg">
			<view class="one">
				<view class="choice">
					<text class="iconfont icon-weixiao-"></text>
					<text class="c">请选择你的角色</text>
				</view>
			</view>
		
			
			<view class="all">
			
				
					<navigator url="/pages/login/dengluye">
						<view class="stu">	
							<text class="iconfont icon-_xuesheng"></text>
							<text class="s">我是学生</text>
							<text class="iconfont icon-jiantouyou"></text>
						</view>
					</navigator>
				
			
				
					<navigator url="/pages/login/dengluye1">
						<view class="tea" @click="shanchu">
							<text class="iconfont icon-xuexiao_jiaoshi"></text>
							<text class="t">我是教师</text>
							<text class="iconfont icon-jiantouyou"></text>
						</view>
					</navigator>
				
			
				
					<navigator url="/pages/login/dengluye2">
						<view class="adm">
							<text class="iconfont icon-guanliyuan"></text>
							<text class="a">我是管理员</text>
							<text class="iconfont icon-jiantouyou"></text>
						</view>
					</navigator>
				
			
			</view>
		</view>
	</view>
		
</template>

<script>
	export default {
		data() {
			return {
				
			}
		},
		methods: {
			shanchu:function(){
				document.getElementByClassName("all").removeChild(document.getElementByClassName("stu"))
			}
		}
	}
</script>

<style>
	.container{
		height: calc(100vh - -8rpx);
		background-color: #EFEFF4;
	}
	

.choice{
	
	display: flex;
	flex-direction: row;
	justify-content: center;
	align-items: center;
	width: 680rpx;
	height: 134rpx;
	border-radius: 30rpx;
	background-color: rgba(18, 117, 79, 100);
	color: rgba(255, 255, 255, 100);
	font-size: 48rpx; 
	padding: 10rpx;
	
		}
.one{
	display: flex;
	flex-direction: row;
	justify-content: center;
	align-items: center;
	height: 500rpx;
	width: 100%;
	
	
	
}
.choice .iconfont{
	font-size: 80rpx;
	padding: 40rpx;
}
.c{
	padding: 50rpx;
}
.stu{
	display: flex;
	flex-direction: row;
	justify-content: space-around;
	align-items: center;
	width: 525rpx;
	height: 144rpx;
	border-radius: 30rpx;
	background-color: rgba(255, 255, 255, 100);
	box-shadow: 0rpx 4rpx 12rpx 0rpx rgba(0, 0, 0, 0.4);
	border: 10rpx solid rgba(18, 117, 79, 100);
	font-size: 40rpx;
	color: #12754F;
}
.s{
	color: #12754F;
	font-weight: bold;
}
.stu .iconfont{
	font-size: 66rpx;
	padding: 40rpx;
}
.tea{
	display: flex;
	flex-direction: row;
	justify-content: space-around;
	align-items: center;
	width: 525rpx;
	height: 144rpx;
	border-radius: 30rpx;
	background-color: rgba(255, 255, 255, 100);
	box-shadow: 0rpx 4rpx 12rpx 0rpx rgba(0, 0, 0, 0.4);
	border: 10rpx solid rgba(18, 117, 79, 100);
	font-size: 40rpx;
	color: #12754F;
}
.t{
	color: #12754F;
	font-weight: bold;
}
.tea .iconfont{
	font-size: 66rpx;
	padding: 40rpx;
}
.adm{
	display: flex;
	flex-direction: row;
	justify-content: space-around;
	align-items: center;
	width: 525rpx;
	height: 144rpx;
	border-radius: 30rpx;
	background-color: rgba(255, 255, 255, 100);
	box-shadow: 0rpx 4rpx 12rpx 0rpx rgba(0, 0, 0, 0.4);
	border: 10rpx solid rgba(18, 117, 79, 100);
	font-size: 40rpx;
	color: #12754F;
}
.adm{
	color: #12754F;
	font-weight: bold;
}
.adm .iconfont{
	font-size: 66rpx;
	padding: 40rpx;
}

.all{
	width: 740rpx;
	height: 700rpx;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	align-items: center;
	position: absolute;
	top: 480rpx;
}
.bg{
	display: flex;
	flex-direction: row;
	justify-content: center;
	align-items: center;
	height: 500rpx;
	width: 100%;
}
</style>
